import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";

export default defineSchema({
  messages: defineTable({
    body: v.string(),
    user: v.id("users"),
  }),
  users: defineTable({
    name: v.string(),
    userName: v.string(),
  }),
  yield: defineTable({
    doYouYield: v.boolean(),
  }),
});
